package com.zcc.springbootneo4j.entity;

import lombok.Data;
import org.neo4j.ogm.annotation.RelationshipEntity;

@RelationshipEntity
@Data
public class Relationship {
    /**
     * id
     */
    private String id;
    /**
     * 开始节点
     */
    private Disease End;
    /**
     * 结束的节点
     */
    private Drugs Start;
}
